package com.andy.blog.dal.mapper;

import com.andy.blog.dal.domain.SysJobLogDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created by andy on 2023/5/12 22:00
 */
public interface SysJobLogMapper extends BaseMapper<SysJobLogDO> {

    /**
     * 清空任务日志
     */
    @Select("TRUNCATE TABLE sys_job_log")
    void cleanJobLog();
}
